package cn.huolabao.feign;

import cn.huolabao.dto.JwtTokenDto;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;

public class OAuth2ClientFallback implements OAuth2Client {
    @Override
    public ResponseEntity<JwtTokenDto> getToken(String grantType, String username, String password, String client_id, String client_secret) {
        return new ResponseEntity<>(HttpStatus.FORBIDDEN);
    }
}
